<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/27
 * Time: 18:18
 */

namespace app\index\controller;

# 静态代理
class Demo2
{
    public function index(){
//        $test = new \app\common\Test();
//        return $test->hello('你好');
        # 静态代理类,facade类
        return \app\facade\Test::hi('hello world');
    }
}